/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #e6f7ff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
}

.logo img {
  height: 30px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
}

.search-bar input {
  padding: 5px;
  width: 300px;
}

.user-actions {
  display: flex;
  align-items: center;
}

.login-button,
.register-button,
.upload-button {
  padding: 5px 10px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.register-button {
  margin-right: 10px;
}

.icon {
  margin: 0 10px;
}

main {
  display: flex;
  padding: 20px;
}

.left-section {
  flex: 1;
  padding-right: 20px;
}

.login-box {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.login-box h3 {
  margin-bottom: 10px;
}

.login-box p {
  margin-bottom: 20px;
}

.register-btn,
.login-btn {
  padding: 10px 20px;
  background-color: #00bfff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}

.middle-section {
  flex: 2;
  padding: 0 20px;
}

.dynamic-item {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.dynamic-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.dynamic-header img {
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.follow-button {
  background-color: #00bfff;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: 10px;
}

.date {
  color: #999;
  font-size: 12px;
}

.dynamic-description {
  margin-bottom: 10px;
}

.dynamic-item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.interaction-area {
  display: flex;
  justify-content: space-between;
  width: 200px;
  margin-top: 10px;
}

.right-section {
  flex: 1;
  padding-left: 20px;
}

.community-center {
  background-color: #00bfff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.login-prompt {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.login-prompt p {
  margin-bottom: 10px;
}

.login-prompt-btn {
  padding: 10px 20px;
  background-color: #00bfff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
}